Two Arm Normal Sample Size and Power

Program Code

The program is written in JavaScript.

Source

Rosner, B., Fundamentals of Biostatistics, Prindle, Weber and Schmidt, 1982.

The formulas are the classic two sample formulas for sample size and power for two sample normal problem with constant variance.

Input Items

The user is prompted for values to the following items. For items that have initial default values set, the values are given in parentheses.

  • n2/n1, the sample size ratio of Group 2 to Group 1 (1)